* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

:focus {
  outline: none;
}

body,
#app {
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  @apply w-screen h-screen;
}

.basic-page {
  @apply p-4 flex-1 h-full flex flex-col overflow-hidden bg-[#f7f8fa];
}

a {
  color: var(--el-color-primary);
}

code {
  border-radius: 2px;
  padding: 2px 4px;
  background-color: var(--el-color-primary-light-9);
  color: var(--el-color-primary);
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background-color: transparent;
}
/* 定义滚动条轨道 内阴影+圆角 */
::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: transparent;
}

/* 定义滑块 内阴影+圆角 */
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #d8d8d8;
}

:focus-visible {
  outline: none;
}

.basic-page-header {
  @apply h-16 flex items-center;
  min-height: 64px;
  &.hide-back-text {
    .el-page-header__left {
      .el-page-header__back {
        & + .el-divider[role='separator'],
        .el-page-header__title {
          display: none;
        }
      }
    }
  }
}
